package com.ophiux.cs.application.consult.dto;

import com.ophiux.cs.application.core.RequestDTO;
import com.ophiux.utils.common.StringUtil;

public class CSConInitRequest extends RequestDTO{

	private String TARGET_ACC;	//用户账号
	
	private String TARGET_NAME;	//用户名称
	
	private String SEX;	//性别
	
	private String PHOTO_URL;	//头像地址

	public String getTARGET_ACC() {
		return TARGET_ACC;
	}

	public void setTARGET_ACC(String tARGET_ACC) {
		TARGET_ACC = tARGET_ACC;
	}

	public String getTARGET_NAME() {
		return TARGET_NAME;
	}

	public void setTARGET_NAME(String tARGET_NAME) {
		TARGET_NAME = tARGET_NAME;
	}

	public String getSEX() {
		return SEX;
	}

	public void setSEX(String sEX) {
		SEX = sEX;
	}

	public String getPHOTO_URL() {
		return PHOTO_URL;
	}

	public void setPHOTO_URL(String pHOTO_URL) {
		PHOTO_URL = pHOTO_URL;
	}

	@Override
	public boolean isParamValid() {
		//账号，用户名必填
		if(StringUtil.isEmpty(TARGET_ACC) ||
				StringUtil.isEmpty(TARGET_NAME)) {
			return false;
		}
		return true;
	}
	
}
